import service from '../server'

// CPU图表
export const getCpuListApi = (data) => {
    return service.get('/api/v1/prometheus/cpu-metrics', data)
}

// GPU图表
export const getGpuListApi = (data) => {
    return service.get('/api/v1/prometheus/gpu-metrics', data)
}

// GPU/硬盘数据
export const getPrometheusInfoApi = (data) => {
    return service.get('/api/v1/prometheus/infos', data)
}